//
//  ShoperCarHeaderView.h
//  EasyToTesco2.0
//
//  Created by knew on 2017/3/29.
//  Copyright © 2017年 EasyToTesco. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol didClickShopCarHeaderViewOrButton <NSObject>

- (void)didClickShopCarHeaderViewButton:(UIButton *)headerButton;

- (void)didClickShopCarHeaderView;

- (void)didClickShopCarHeaderViewRightButton:(UIButton *)rightButton;

@end

typedef void(^LQQCartBlock)(BOOL select);

@interface ShoperCarHeaderView : UIView

@property (nonatomic,strong)UIButton *leftButton;

@property (nonatomic,strong)UILabel *titleLabel;

@property (nonatomic,strong)UIButton *rightButton;

@property (nonatomic,assign)BOOL isSelected;

@property (nonatomic,copy)LQQCartBlock cartBlock;

@property (nonatomic,assign) NSInteger sectionIndex;

@property (nonatomic,weak) id<didClickShopCarHeaderViewOrButton>delegate;

@end
